<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const user = {
        name: "jack",
        age: 20,
        gender: "boy",
      };
      // 赋值、复制
      const admin = user;
      admin.age = 22;
      console.log(user.age); //20??
    </script>
  </body>
</html>
